package com.zqcy.workbench.activity;

import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.RecyclerView;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.zqcy.workbench.R;
import com.zqcy.workbench.utils.Utils;

/**
 * 网点查询页面 该页面可集成第三方地图自行实现(高德、百度、华为)
 */
public class LocationSearchActivity extends AppCompatActivity {

    private ImageView ivBack;
    private RecyclerView locationView;

    public static void startActivity(Context context) {
        Intent intent = new Intent(context, LocationSearchActivity.class);
        context.startActivity(intent);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_location_search);
        Utils.setColor(this, getResources().getColor(R.color.white));
        initView();
        initListener();
    }

    private void initView() {
        ivBack = findViewById(R.id.location_search_back);
    }

    private void initListener() {
        ivBack.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}